# $Id: PKGBUILD 63607 2012-02-05 12:00:06Z ibiru $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Maintainer: mickael9 <mickael9 at gmail dot com>

pkgname=gpsim
pkgver=0.26.1
pkgrel=2
pkgdesc="A full-featured software simulator for Microchip PIC microcontrollers"
arch=(i686 x86_64)
url="http://gpsim.sourceforge.net/"
license=(GPL)
depends=('gtk2+extra' 'popt')
makedepends=('gtk2+extra')
options=('!libtool')
source=(http://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.gz)
md5sums=('c994c23d2d75056dbefcf5d1d63596d7')

build() {
  cd ${srcdir}/${pkgname}-${pkgver}
  ./configure --prefix=/usr
  make
  make DESTDIR=${pkgdir} install
}
